func crypto/tls.unexpectedMessageError
21 uses
crypto/tls (current package)
common.go#L1687: func unexpectedMessageError(wanted, got any) error {
conn.go#L1273: return unexpectedMessageError(helloReq, msg)
handshake_client.go#L336: return unexpectedMessageError(serverHello, msg)
handshake_client.go#L671: return unexpectedMessageError(certMsg, msg)
handshake_client.go#L761: return unexpectedMessageError(shd, msg)
handshake_client.go#L1013: return unexpectedMessageError(serverFinished, msg)
handshake_client.go#L1049: return unexpectedMessageError(sessionTicketMsg, msg)
handshake_client_tls13.go#L404: return unexpectedMessageError(serverHello, msg)
handshake_client_tls13.go#L557: return unexpectedMessageError(encryptedExtensions, msg)
handshake_client_tls13.go#L649: return unexpectedMessageError(certMsg, msg)
handshake_client_tls13.go#L674: return unexpectedMessageError(certVerify, msg)
handshake_client_tls13.go#L721: return unexpectedMessageError(finished, msg)
handshake_server.go#L144: return nil, nil, unexpectedMessageError(clientHello, msg)
handshake_server.go#L695: return unexpectedMessageError(certMsg, msg)
handshake_server.go#L723: return unexpectedMessageError(ckx, msg)
handshake_server.go#L765: return unexpectedMessageError(certVerify, msg)
handshake_server.go#L850: return unexpectedMessageError(clientFinished, msg)
handshake_server_tls13.go#L604: return nil, unexpectedMessageError(clientHello, msg)
handshake_server_tls13.go#L1073: return unexpectedMessageError(certMsg, msg)
handshake_server_tls13.go#L1099: return unexpectedMessageError(certVerify, msg)
handshake_server_tls13.go#L1151: return unexpectedMessageError(finished, msg)